DescribeRouteTableList
Description
call the DescribeRouteTableList interface to query the routing table list.
Request Method
POST
Request Path
/apsara/route/Vpc/DescribeRouteTableList
Request Parameters Common Parameters
| Name | Location | Type | Required | Sample value | Description |
|---|---|---|---|---|---|
| RouteTableId | BODY | string | No | vtb-bp145q7glnuzdvzu2**** | ID of the routing table to query. |
| Tag.N.Key | BODY | string | No | Key1 | tag key. |
| PageSize | BODY | integer | No | 10 | The number of rows per page during paging query, the maximum value is 50, the default value is 10. |
| ResourceGroupId | BODY | string | No | rg-acfmxazb4ph**** | ID of the resource group to which the routing table to be queried belongs. |
| RouterId | BODY | string | No | vrt-bp1lhl0taikrteen8**** | ID of the router to which the routing table to be queried belongs. |
| version | BODY | string | No | 2016-01-01 | version of api |
| VpcId | BODY | string | No | vpc-bp15zckdt37pq72**** | the ID of the VPC router to which the routing table to be queried belongs. After specifying this parameter,RouterType the value of the parameter is automatically set to VRouter. |
| RouterType | BODY | string | No | VBR | the type of router to which the routing table to be queried belongs. Value: VRouter(default):VPC router. VBR: border router. |
| PageNumber | BODY | integer | No | 1 | page number of the list, the default value is 1. |
| regionId | BODY | string | Yes | No sample value for this parameter. | region id |
| Tag.N.Value | BODY | string | No | Value1 | label value. |
| RegionId | BODY | string | Yes | cn-qingdao-env17-d01 | the region ID of the VPC to which the routing table to be queried belongs. You can obtain the region ID by calling the DescribeRegions interface. |
| RouteTableName | BODY | string | No | doctest | the name of the routing table to query. |
Return data
| Name | Type | Sample value | Description |
|---|---|---|---|
| RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}